package com.online.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户controlle
 *
 * @author 向天磊
 * @date 2023/08/08
 */
@RequestMapping("/user")
@RestController
public class UserController {
    Logger logger = LoggerFactory.getLogger(UserController.class);

    @GetMapping("getUser")
    public String getUser() {
        logger.info("--------控制台输出--------");
        return "k8s";
    }

}
